package com.motherchild.admin.dto;

import lombok.Data;

import java.util.List;

@Data
public class OrderResponse {
    private List<OrderDTO> orders; // 订单列表
    private int total; // 总数

    public OrderResponse(List<OrderDTO> orders, int total) {
        this.orders = orders;
        this.total = total;
    }
}